Logistics APIs
Updates a shipping service
HTTP method | PUT |
URI | https://api.rambase.net/logistics/shipping-services/{shippingServiceId} |
Supported formats | Xml, Html, Json (ex. $format=json) |
- URI parameter {shippingServiceId} |
Shipping service identifier
Integer, minimum 100000 |
Successful HTTP status code | 200 |
API resource identifier | 4036, version 6 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
ShippingService
This field is optional.
>Name
Name of shipping service
This field is optional.
>{String}</Name>Description
Description of shipping service
This field is optional.
>{String}</Description>Direction
Direction of goods for this shipping service. Is goods arriving by this shipping service (INCOMING), or is departing (OUTGOING).
Applicable domain values can be found here
This field is optional.
>{String}</Direction>IsAvailableExternal
True if shipping service should be visibile in external systems. An example of an external system might be a web site.
This field is optional.
>{Boolean}</IsAvailableExternal>DepartingWaybillConsolidationTag
All shipping services with same consolidation tag will be consolidated when creating departing waybills for shipping advices, supplier returns and goods transfers. Example of consolidation tag might be "UPSNORDIC".
This field is optional.
>{String}</DepartingWaybillConsolidationTag>PayersCustomerIdAtCarrier
Customers account ID at the carrier for the given shippingservice
This field is optional.
>{String}</PayersCustomerIdAtCarrier>PayersCustomerIdAtReturnCarrier
The customer account id (at the carrier) that should pay for return of shipments sihpped with this shipping service. It is typically the customer.
This field is optional.
>{String}</PayersCustomerIdAtReturnCarrier>Carrier
This field is optional.
>CarrierId
Carrier identifier
Minimum value: 1000
This field is optional.
>{Integer}</CarrierId>CarrierService
This field is optional.
>CarrierServiceId
Shipping service identifier from arhive for shipping services
Minimum value: 1
This field is optional.
>{Integer}</CarrierServiceId>ExclusivelyForCustomer
Some shipping services are exclusively for one customer only.
This field is optional.
>CustomerId
Customer identifier
Minimum value: 1000
This field is optional.
>{Integer}</CustomerId>ReturnShippingService
The shipping service that should be used when shipments that are shipped with this shipping service are returned. For instance you might not have to use an expensive express delivery for the return of products.
This field is optional.
>ShippingServiceId
Shipping service identifier
Minimum value: 100000
This field is optional.
>{Integer}</ShippingServiceId>ShippingService
This field is optional.
": {Name
Name of shipping service
This field is optional.
": "{String}",Description
Description of shipping service
This field is optional.
": "{String}",Direction
Direction of goods for this shipping service. Is goods arriving by this shipping service (INCOMING), or is departing (OUTGOING).
Applicable domain values can be found here
This field is optional.
": "{String}",IsAvailableExternal
True if shipping service should be visibile in external systems. An example of an external system might be a web site.
This field is optional.
": "{Boolean}",DepartingWaybillConsolidationTag
All shipping services with same consolidation tag will be consolidated when creating departing waybills for shipping advices, supplier returns and goods transfers. Example of consolidation tag might be "UPSNORDIC".
This field is optional.
": "{String}",PayersCustomerIdAtCarrier
Customers account ID at the carrier for the given shippingservice
This field is optional.
": "{String}",PayersCustomerIdAtReturnCarrier
The customer account id (at the carrier) that should pay for return of shipments sihpped with this shipping service. It is typically the customer.
This field is optional.
": "{String}",Carrier
This field is optional.
": {CarrierId
Carrier identifier
Minimum value: 1000
This field is optional.
": "{Integer}"CarrierService
This field is optional.
": {CarrierServiceId
Shipping service identifier from arhive for shipping services
Minimum value: 1
This field is optional.
": "{Integer}"ExclusivelyForCustomer
Some shipping services are exclusively for one customer only.
This field is optional.
": {CustomerId
Customer identifier
Minimum value: 1000
This field is optional.
": "{Integer}"ReturnShippingService
The shipping service that should be used when shipments that are shipped with this shipping service are returned. For instance you might not have to use an expensive express delivery for the return of products.
This field is optional.
": {ShippingServiceId
Shipping service identifier
Minimum value: 100000
This field is optional.
": "{Integer}"The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
$access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
$db String, optional | Set the database/company for the request |
$useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
Read more about filters and sorting on how to use filter parameters and named filters.
Read more about filters and sorting on how to use sortable parameters
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return:
Error 101079 HTTP 400 | Mismatch in size of revision parameters |
Error 101370 HTTP 400 | Cannot change carrier of an active (status 4) shipping service |
Error 101404 HTTP 400 | Cannot change direction of an active (status 4) shipping service |
Error 101528 HTTP 400 | Cannot change customer 0f an active (status 4) shipping Service |
Error 101310 HTTP 400 | Name of shipping service is required |
Error 101311 HTTP 400 | Direction of the shipping service is required |